package com.singfan.core.dao.mongo;

import java.util.List;

/**
 * Author: hansonghe
 * Date: 2015-08-21 10:52
 * Desc:
 */
public interface IBarberLocationDao {
    /**
     * 创建发型师的地理信息
     * @param barberId
     * @param cityId
     * @param businessCircleId
     * @param serviceTypeList
     * @param longitude
     * @param latitude
     */
    void createBarberLocation(long barberId, int cityId, int businessCircleId, List<Integer> serviceTypeList, double longitude, double latitude, int position);

    /**
     *
     * @param cityId
     * @param businessCircleId
     * @param longitude
     * @param latitude
     * @param pageIndex
     * @param pageSize
     * @return
     */
    List<Long> findBarberNearbyLocation(int serviceType, int cityId, int businessCircleId, double longitude, double latitude, int position, int pageIndex, int pageSize);
}
